package com.lcs.springcloud.feign;

import com.lcs.springcloud.feign.impl.ProviderFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
@FeignClient(value="nacos-provider", path = "/provider",fallback = ProviderFeignImpl.class)
public interface ProviderFeign
{

    @GetMapping("/getPort")
    public String getPort();
}
